package com.silence.springboot.vo.input;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

@Data
@Accessors(chain = true)
@Schema(name = "PageRolesInput", description = "分页查询权限表入参")
public class PageRolesInput implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 权限名称
     */
    @Schema(name = "roleName", description = "权限名称")
    private String roleName;

    /**
     * 权限编码
     */
    @Schema(name = "roleCode", description = "权限编码")
    private String roleCode;

    /**
     * 第几页
     */
    @Schema(name = "pageNum", description = "第几页")
    private Integer pageNum = 1;

    /**
     * 每页条数
     */
    @Schema(name = "pageSize", description = "每页条数")
    private Integer pageSize = 10;

}
